﻿Public Class Question
    Private intId As Integer
    Private strQuestion As String
    Private intType As Integer
    Private decScore As Decimal
    Private strRightAnswer As String
    Private strTitle As String
    Private strOptions As String

    Public Property Id() As Integer
        Get
            Return intId
        End Get
        Set(value As Integer)
            intId = value
        End Set
    End Property
    Public Property Question() As String
        Get
            Return strQuestion
        End Get
        Set(value As String)
            strQuestion = value
        End Set
    End Property
    Public Property Type() As Integer
        Get
            Return intType

        End Get
        Set(value As Integer)
            intType = value
        End Set
    End Property
    Public Property Score() As Decimal
        Get
            Return decScore
        End Get
        Set(value As Decimal)
            decScore = value
        End Set
    End Property
    Public Property RightAnswer() As String
        Get
            Return strRightAnswer

        End Get
        Set(value As String)
            strRightAnswer = value
        End Set
    End Property
    Public Property Title() As String
        Get
            Return strTitle

        End Get
        Set(value As String)
            strTitle = value
        End Set
    End Property

    Public Property Options() As String
        Get
            Return strOptions
        End Get
        Set(value As String)
            strOptions = value
        End Set
    End Property
End Class
